﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp6
{
    class Plan:Vehicle,IFlyable
    {
        public Plan(string name) : base(name) 
        { }

        public void Fly()
        {
            Console.WriteLine("我会飞");
        }

        public void Land()
        {
            Console.WriteLine("我会着陆");
        }

        public void TakeOff()
        {
            Console.WriteLine("我会开始起飞");
        }
    }
}
